package com.huawei.statistics.pojo.video;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by 18573 on 2019/1/18.
 * 电视连续剧
 */
@Table(name="t_tvplay")
public class TVPlay {
    private Long id;
    private Long videoId;
    private String title;
    private String image;
    private String time;
    private String episode; //集
    private String url;
    private Date createDate;

    @Column(name="id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Column(name="videoId")
    public Long getVideoId() {
        return videoId;
    }

    public void setVideoId(Long videoId) {
        this.videoId = videoId;
    }

    @Column(name="title")
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Column(name="episode")
    public String getEpisode() {
        return episode;
    }

    public void setEpisode(String episode) {
        this.episode = episode;
    }


    @Column(name="image")
    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }


    @Column(name="time")
    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Column(name="url")
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Column(name="createDate")
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "TVPlay{" +
                "id=" + id +
                ", videoId=" + videoId +
                ", title='" + title + '\'' +
                ", image='" + image + '\'' +
                ", time='" + time + '\'' +
                ", episode='" + episode + '\'' +
                ", url='" + url + '\'' +
                ", createDate=" + createDate +
                '}';
    }
}
